package com.yonyou.cyxdms.basedata.client.service.basedata;

import com.yonyou.cyxdms.basedata.client.domains.vo.PackageCacheVO;

import java.util.List;

/**
 * 配置信息
 *
 * @author: renwd
 * @since: 2018/11/29
 * @version:1.0 Copyright: Copyright (c) 2018
 */
public interface BaseCommonPackageService {

    /**
     * 根据配置id查询配置信息
     *
     * @param packageId
     * @return com.yonyou.cyxdms.basedata.client.domains.vo.PackageCacheVO
     * @author renwd
     * @since 2019/9/10
     */
    PackageCacheVO getValueByPackageId(String packageId);

    /**
     * 查询租户下的经销商下的所有配置
     *
     * @param
     * @return java.util.List<com.yonyou.cyxdms.basedata.client.domains.vo.PackageCacheVO>
     * @author renwd
     * @since 2019/9/10
     */
    List<PackageCacheVO> listAllPackage();

    /**
     * 获取配置
     *
     * @param:
     * @return:
     * @auther: tanjie
     * @since: 2019/11/4
     */
    List<PackageCacheVO> getAllPackageByAppId(String appId);
}
